package com.operation.dao;

import com.operation.entity.TwoLevelDirectory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TwoLevelDirectoryMapper {
    int deleteByTwo(String two);

    int insert(TwoLevelDirectory record);

    int insertSelective(TwoLevelDirectory record);

    TwoLevelDirectory selectByPrimaryKey(Integer id);

    int updateByTwoSelective(@Param("two") String two,@Param("updateTwo") String updateTwo);

    int updateByPrimaryKey(TwoLevelDirectory record);

    List<TwoLevelDirectory> selectByTType(Integer tType);
}